package com.poly.flowable.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Builder
@AllArgsConstructor
public class ApproveResultDTO {

    @ApiModelProperty("id")
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty("category")
    @NotBlank(message = "流程类型不能为空")
    private String category;

    @ApiModelProperty("流程实例id")
    @NotBlank(message = "流程实例不能为空")
    private String procInstId;

    @ApiModelProperty("处理结果 ")
    @NotNull(message = "处理结果不能为空")
    private String mode;

    @ApiModelProperty("备注")
    private String approveRemark;
}
